﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>

    <script src="../../linq.js"></script>

</head>
<body>
    <script type="text/javascript">


        var lists = [];
        var entity1 = {
            Name: "1234-1.jpg",
            DepartmentCode: "345",
            OrderItemNumber: "33",
            OrderNumber: "222",

            CostCenterCode:"Q001005",
            DepartmentName:"人事部",
            KeyCode:"D08/320-01001-1",
            ProfitCenterCode:"Q000101",
            ShuntMoney:"30.00",
            WbsName:"D08/320-01001-1"
        }
        var entity2 = {
            Name: "2345-1.jpg",
            DepartmentCode: "344",
            OrderItemNumber: "99",
            OrderNumber: "111",

            CostCenterCode: "Q001005",
            DepartmentName:"财务部",
            KeyCode:"D08/320-01016-1",
            ProfitCenterCode:"Q000101",
            ShuntMoney:"40.00",
            WbsName:"D08/320-01016-1"
        }
        var entity3 = {
            Name: "3456-1.png",
            DepartmentCode: "345",
            OrderItemNumber: "33",
            OrderNumber: "222",

            DepartmentName:"人事部",
            KeyCode: "D08/320-04001",
            CostCenterCode: "Q001005",
            ProfitCenterCode:"Q000101",
            ShuntMoney:"30.00",
            WbsName:"D08/320-04001"
        }
        lists.push(entity1, entity2, entity3);

        var ss = Enumerable.From(lists).Select("$.Name").Contains("3456-1.jpg");

        var s = 1;
    </script>
</body>
</html>